namespace Isolation.TeamFoundationServer
{
	using System;
	using System.Collections.Generic;

	public interface ITfsWorkItemStore
	{
		string[] Projects { get; }

		string GetIterationName(string projectName, int iterationId);
		string GetIterationName(string projectName, string iterationPath);

		string GetQueryString(string projectName, int iterationId, string workItemTypes);
		string GetQueryString(string projectName, string iterationPath, string workItemTypes);

		ICollection<IWorkItem> Query(string wiql);

		IWorkItem GetWorkItem(int workItemId, DateTime at);
	}
}